<div class="wrapper">
    <div class="home-promot">
        <div class="home-promot-tit">特惠促销</div>
        <div class="clearfix">

            <!-- 水平方向的三个促销图 -->
            <div class="list-x">
                
                @foreach($homePromotion['xPromot'] as $v)
                    <div class="item">
                        <a href="{{asset('goods-detail/'.$v['gid'])}}"><img src="{{$v['path']}}" alt="" /></a>
                        <div class="info">
                            <div class="name"><a href="{{url('goods-detail/'.$v['gid'])}}">{{$v['gname']}}</a></div>
                            <div class="price">￥{{$v['sale_price']}}</div>
                        </div>
                    </div>
                @endforeach

            </div>

            <!-- 垂直方向的两个促销图 -->
            <div class="list-y">
                @foreach($homePromotion['yPromot'] as $v)
                
                    <a href="{{asset('goods-detail/'.$v['gid'])}}" class="item"><img src="{{$v['path']}}" alt="{{$v['gname']}}" /></a>
                
                @endforeach
            </div>
        </div>
    </div>
</div>